package com.back.end.Service;

import com.back.end.Modal.Order;
import com.back.end.Modal.RefundOrder;

import java.util.List;

public interface OrdersService {
    public Order addOrder(Order order);

    public List<Order> getOrderList(int id);

    public void finishOrder(String id);

    public List<Order> getOrderListByPage(int pageNum, int pageSize);

    public int getAllOrderCount();

    public void refundOrderSubmit(RefundOrder refundOrder);

    public List<RefundOrder> getAllRefundOrders();

    public List<Order> getAppRefundOrders(int id);

    public void confirmOrder(RefundOrder refundOrder);

}